namespace KingerRobot.MexicoSailunMDC.Dao;
partial class Db : K8.EF.DbContext
{
    /// <summary>
    /// ——配置 - 堆垛机至硫化机距离与时长
    /// </summary>
    public DbSet<POWcsEquipWarehouseDistance> WcsEquipWarehouseDistances { get; set; }
}

/// <summary>
/// ——配置 - 堆垛机至硫化机距离与时长
/// 表[wcs_equip_warehouse_distance]
/// </summary>
[Table("wcs_equip_warehouse_distance")]
public class POWcsEquipWarehouseDistance
{
    /// <summary>
    /// 递增
    /// 主键[wcs_equip_warehouse_distance.objid)]
    /// </summary>
    [Key]
    [Column("objid")]
    public int? Id { get; set; }
    /// <summary>
    /// 设备(硫化机左右模)Id
    /// [wcs_equip_warehouse_distance.equip_id)]
    /// </summary>
    [Column("equip_id")]
    public long? EquipId { get; set; }
    /// <summary>
    /// 硫化机左右模位置id
    /// [wcs_equip_warehouse_distance.curing_loc_id)]
    /// </summary>
    [Column("curing_loc_id")]
    public long? CuringLocId { get; set; }
    /// <summary>
    /// [wcs_equip_warehouse_distance.area_id)]
    /// </summary>
    [Column("area_id")]
    public long? AreaId { get; set; }
    /// <summary>
    /// 库区Id
    /// [wcs_equip_warehouse_distance.warehouse_id)]
    /// </summary>
    [Column("warehouse_id")]
    public long? WarehouseId { get; set; }
    /// <summary>
    /// 堆垛机id
    /// [wcs_equip_warehouse_distance.crn_id)]
    /// </summary>
    [Column("crn_id")]
    public long? CrnId { get; set; }
    /// <summary>
    /// 库区跟硫化机的距离标识（维护成：1，2，3，4……）
    /// [wcs_equip_warehouse_distance.distance)]
    /// </summary>
    [Column("distance", TypeName ="decimal(18,2)")]
    public decimal? Distance { get; set; }
    /// <summary>
    /// 堆垛机跟硫化机的时间（单位秒）
    /// [wcs_equip_warehouse_distance.seconds)]
    /// </summary>
    [Column("seconds")]
    public int? Seconds { get; set; }
    /// <summary>
    /// 创建时间
    /// [wcs_equip_warehouse_distance.create_time)]
    /// </summary>
    [Column("create_time")]
    public DateTime? CreateTime { get; set; }
    /// <summary>
    /// 更新时间
    /// [wcs_equip_warehouse_distance.update_time)]
    /// </summary>
    [Column("update_time")]
    public DateTime? UpdateTime { get; set; }
    /// <summary>
    /// 是否可用 0:不可用  1:在用
    /// [wcs_equip_warehouse_distance.use_flag)]
    /// </summary>
    [Column("use_flag")]
    public int? UseFlag { get; set; }
}
